/*
* 命名空间: LogicModel.DataModel
*
* 功 能： SysRoleButton实体类
*
* 类 名： SysRoleButtonEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2019/02/26 17:33:03 罗维     创建
*
* Copyright (c) 2016 Lir Corporation. All rights reserved.
*/

namespace LogicModel.DataModel
{
    using System;
    using ToolsModel;

    /// <summary>
    /// 角色按钮关系表
    /// </summary>
    [Serializable]
    [TableInfo(TableName = "SysRoleButton")]
    public class SysRoleButtonEntity
    {

        /// <summary>
        /// 唯一标识符
        /// </summary>
        [FieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gCode",Required = false,DefaultValue = "")]
        public String Code
        {
            get; set;
        }

        /// <summary>
        /// 角色编码
        /// </summary>
        [FieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gRoleCode",Required = false,DefaultValue = "")]
        public String RoleCode
        {
            get; set;
        }

        /// <summary>
        /// 按钮编码
        /// </summary>
        [FieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gButtonCode",Required = false,DefaultValue = "")]
        public String ButtonCode
        {
            get; set;
        }
    }
}
